PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFStringLayoutOptions Class / setWidth Method
The width of text rectangle.
In This Topic
    setWidth Method
    In This Topic
    Sets the width of rectangle that defines the text location.
    The text is automatically wrapped when the text width is greater than this width. If this is 0 or negative, its value is ignored and the text is not wrapped.
    Syntax
    public void setWidth( 
       double width
    )

    Parameters

    width
    The width of text rectangle.
    See Also